package com.zretc.dao;

import com.zretc.pojo.CustomerInfo;
import com.zretc.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface CustomerMapper {

    /**
     * 查询客户完成状态
     * @return
     */
    public List<CustomerInfo> getCustomer();
    /**
     * 根据用户名字和身份证号查询用户
     * @return
     */
    List<CustomerInfo> getInfoByNameOrId(CustomerInfo customerInfo);

    /**
     * 根据用户身份证号查询用户
     * @param idCard
     * @return
     */
    CustomerInfo findCustomerByIdCard(String idCard);
}
